﻿// JScript File
function OpenModalDialog(url, name, options)
{
    var ret;
    
    if (window.showModalDialog)
    {
	    ret = window.showModalDialog(url, name, options);
    } 
    else 
    {
	    ret = window.open(url, name, 'modal = yes, ' + options.replace(';', ', ').replace(':', '=').replace('dialog', ''));
    }
    
    return ret;
}

